From ac384e4f5d1f2a9e636bb85569b26d6fc25e1903 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 28 May 1993 04:33:12 +0000 Subject: [PATCH] * configure.in: Extract UNEXEC from the system configuration files, compute the name of the source file corresponding to the object file, and #define it as UNEXEC_SRC in config.h. --- configure1.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure1.in b/configure1.in index 2c3eb3d86eb..84f8846d568 100755 --- a/configure1.in +++ b/configure1.in @@ -1013,6 +1013,13 @@ echo ' #endif @configure@ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM @configure@ c_switch_system=C_SWITCH_SYSTEM + +#ifdef UNEXEC +@configure@ unexec=UNEXEC +#else +@configure@ unexec=unexec.o +#endif + #ifdef SYSTEM_MALLOC @configure@ system_malloc=yes #else @@ -1027,6 +1034,8 @@ eval `${foo} ${tempcname} \ | sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'` rm ${tempcname} +### Compute the unexec source name from the object name. +UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" # Do the opsystem or machine files prohibit the use of the GNU malloc? # Assume not, until told otherwise. @@ -1073,6 +1082,7 @@ AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"") AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) +AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC}) [ if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then -- 2.30.2